package com.itbb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: Insight
 * @Description: TODO
 * @Date: 2024-03-22 19:57
 * @Version: 1.0
 */
@Controller
public class FirstController {
    @RequestMapping("/firstController")
    public String sayHello(){
        System.out.println("访问到FirstController");
        return "success";
    }

    @RequestMapping("/logOut")
    public String logOut() {
        return "logout测试    登出成功";
    }
    @RequestMapping("/query")
    public String query(){
        return "查询成功 ";
    }
}
